package com.bridge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bridge.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Administrator
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> getAll();

    User getOne(Long id);

    void update(User user);

    void delete(Long id);

}